<script>
	export default {
		onLaunch: function() {
		// console.log('on lauch',this.common.getStore('UserId') == '');
			if(this.common.getStore('UserId') == ''){
				uni.redirectTo({
					url:'pages/login/login'
				})
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	.xing::before{
		content: "*";
		color: red;
	}
	.icon-search {
	  position: absolute;
	  width: 31rpx;
	  height: 31rpx;
	  background-size: 31rpx auto;
	  left: 25rpx;
	  top: 27rpx;
	  background-image: url();
	}
	textarea{
		border: 1rpx solid #bbb;
		width: 100%;
		padding: 20rpx;
		border-radius: 10rpx ;
		height: 200rpx;
	}
	.inputs{
		display: flex;
		align-items: center;
		padding: 0 20rpx;
		margin: 30rpx;
	}
	.inputs text{
		display: block;
		width: 44%;
		text-align: center;
		color: #555;
		font-size: 32rpx;
	}
	input{
		height: 60rpx;
		line-height: 60rpx;
		border: 1rpx solid #bbb;
		width: 100%;
		border-radius: 10rpx ;
		padding-left: 20rpx;
		font-size: 32rpx;
	}
	
	.sumbit{
		background: #0196FD;
		color: #fff;
		height: 80rpx;
		line-height: 80rpx;
		text-align: center;
		border-radius: 10rpx;
		width: 40%;
		margin: 0 auto;
		margin-top: 100rpx;
	}
</style>
